<?php
/*
 * MiniMe - a minimalistic OStatus complient microblogging tool
 * Copyright (C) 2010, Tuomas Koski - koski.tuomas@gmail.com
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

/**
 * @author     Tuomas Koski <koski.tuomas@gmail.com>
 * @copyright  Tuomas Koski
 * @license    http://www.gnu.org/licenses/lgpl.txt
 */

require_once 'classes/atom/AllTests.php';
require_once 'classes/magic/AllTests.php';
require_once 'classes/magic/signature/AllTests.php';
require_once 'classes/minime/AllTests.php';
require_once 'classes/minime/user/AllTests.php';
require_once 'classes/minime/pubsubhubbub/AllTests.php';
require_once 'classes/minime/pubsubhubbub/subscription/AllTests.php';
require_once 'classes/minime/pubsubhubbub/subscribers/AllTests.php';
require_once 'classes/xrd/AllTests.php';
require_once 'classes/controller/AllTests.php';
require_once 'classes/AllTests.php';
require_once 'classes/discovery/AllTests.php';

class AllTests {
    
    public static function suite() {
        
        date_default_timezone_set("Europe/Paris");
        $suite = new PHPUnit_Framework_TestSuite('MiniMe Microblogger -project');
        
        $suite->addTest(Atom_AllTests::suite());
        $suite->addTest(Magic_AllTests::suite());
        $suite->addTest(Magic_Signature_AllTests::suite());
        $suite->addTest(Minime_AllTests::suite());
        $suite->addTest(Minime_User_AllTests::suite());
        $suite->addTest(Minime_Pubsubhubbub_AllTests::suite());
        $suite->addTest(Minime_Pubsubhubbub_Subscription_AllTests::suite());
        $suite->addTest(Minime_Pubsubhubbub_Subscribers_AllTests::suite());
        $suite->addTest(Xrd_AllTests::suite());
        $suite->addTest(Init_AllTests::suite());
        $suite->addTest(Controller_AllTests::suite());
        $suite->addTest(Discovery_AllTests::suite());
        
        return $suite;
    }
    
}
